package com.briup.oagg.facade.web.vm.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 发布或取消发布模型训练参数
 *
 * @Author briup
 */
@Data
@ApiModel(description = "发布或取消发布模型训练参数")
public class ModelTrainConfigPublishVM {
    @ApiModelProperty(value = "训练id",example = "1779b531-7251-45cd-8c4a-fe4775fe5b9e")
    private String trainId;
    @ApiModelProperty(value = "发布状态：true-发布 false-取消发布",example = "true")
    private Boolean publishStatus;
    @ApiModelProperty(value = "target数字和含义对照,如果是取消模型发布,不提供参数",example = "[{\"tag_id\":0,\"tag_name\":\"类型A\"},{\"tag_id\":1,\"tag_name\":\"类型B\"}]")
    private List<ModelTagVM> tagVMS;
}
